package dao;

import javax.transaction.Transactional;

import org.springframework.data.repository.CrudRepository;
import org.springframework.stereotype.Repository;

import model.User;

public interface UserRepository extends CrudRepository<User, Integer>{
	
	
	public User findByUsername(String username);
	
	public User findByUsernameAndPassword(String username, String password);
	
}
